package com.lt.test.entity.DTO;

import java.io.Serializable;

public class DCust2MemberDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	private String id;
	private String username;
	private String phone;
	private String state;
	private String stateStr;
	private String stateDateStr; //修改时间
	private String createDateStr;//创建时间
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.stateStr = state.equals("1") ? "已授权" : "取消授权";
		this.state = state;
	}
	public String getStateStr() {
		return stateStr;
	}
	public void setStateStr(String stateStr) {
		this.stateStr = stateStr;
	}
	public String getStateDateStr() {
		return stateDateStr;
	}
	public void setStateDateStr(String stateDateStr) {
		this.stateDateStr = stateDateStr;
	}
	public String getCreateDateStr() {
		return createDateStr;
	}
	public void setCreateDateStr(String createDateStr) {
		this.createDateStr = createDateStr;
	}
	@Override
	public String toString() {
		return "DCust2MemberDTO [id=" + id + ", username=" + username + ", phone=" + phone + ", state=" + state
				+ ", stateStr=" + stateStr + ", stateDateStr=" + stateDateStr + ", createDateStr=" + createDateStr
				+ "]";
	}
	
}
